import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';
import 'package:flutter_boost/flutter_boost.dart';

class SimplePage extends StatelessWidget {

  const SimplePage({Object? data});

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        leading: IconButton(
          onPressed: () {
            BoostNavigator.instance.pop();
          },
          icon: Icon(Icons.arrow_back_ios_new),
        ),
        title: const Text("商品详情 - Flutter页面"),
      ),
      body: Center(
        child: Text('寒蝉凄切，对长亭晚，骤雨初歇。都门帐饮无绪，留恋处，兰舟催发。执手相看泪眼，竟无语凝噎。'),
      ),
    );
  }
}